package com.xr.service;

import com.xr.exception.CustomException;
import com.xr.pojo.CheckGroup;
import com.xr.query.QueryPageBean;
import com.xr.result.PageResult;

import java.util.List;

public interface CheckGroupService {

    //分页加条件查询
    PageResult findPage(QueryPageBean queryPageBean);

    //删除
    Integer DelCheckGroup(Integer id) throws CustomException;

    //根据id查询
    CheckGroup findById(Integer id);

    //根据id查询
    List<CheckGroup> findAll();

    //添加
    void AddCheckGroup(CheckGroup checkGroup, Integer [] checkitemIds);

    //修改
    void UpdCheckGroup(CheckGroup checkGroup, Integer [] checkitemIds);

    //
    List<Integer> selectItemsByGroupId(Integer groupId);

}
